<div class="container main">
  <div class="article list">
    <%= render partial: 'article', collection: @articles, as: :article %>
  </div>

  <div class="clearfix">
    <%= paginate @articles %>
  </div>
</div>